import request from '@/utils/request'

// 列表
export function getNoticeList(query) {
	return request({
		url: '/bot/notice/list',
		method: 'get',
		params: query
	})
}


// 更新
export function updateNotice(data) {
	return request({
		url: '/bot/notice/update',
		method: 'post',
		data: data
	})
}

// 删除
export function removeNotice(data) {
	return request({
		url: '/bot/notice/remove',
		method: 'post',
		data: data
	})
}